<?xml version="1.0" encoding="utf-8"?> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="fillFlightInfo()" textAlign="left" width="800" height="700"> <mx:Script> <![CDATA[ import mx.core.Application; public function fillFlightInfo():void { if (mx.core.Application.application.txtFlightInfo!="") { htmlFlightInfo.htmlText = mx.core.Application.application.txtFlightInfo; htmlFlightInfo.visible = true; } } ]]> </mx:Script> <mx:Spacer height="2"/> <mx:HTML id="htmlFlightInfo" scaleX="0.48" scaleY="0.48"/> </mx:VBox>